-- GENERATED SPELL FOR [Unstable Corpse] --


function spell0_10480(pUnit, Event) --@Disease Burst,Self--
pUnit:FullCastSpellOnTarget(17689,pUnit)
pUnit:RegisterEvent('Sorts_10480', 600, 1)
end

function Sorts_10480(pUnit, Event)
local choix_sorts_10480 = math.random(0, 0)
if choix_sorts_10480 == 0 then
pUnit:RegisterEvent('spell0_10480', 1, 1)
end
end

function mob10480_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10480', math.random(1500, 3000), 1)
end

function mob10480_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10480_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10480_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10480, 1, 'mob10480_Action')
RegisterUnitEvent(10480, 2, 'mob10480_Leave')
RegisterUnitEvent(10480, 3, 'mob10480_Kill')
RegisterUnitEvent(10480, 4, 'mob10480_Die')
